package yy.yyds.basic.query.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor//全参构造
@NoArgsConstructor//无餐构造
public class QueryResult<T> {
    /*总条数*/
    private Integer total =0;
    /*当前页数据*/
    private List<T> list= new ArrayList<>();

}
